#include <stdio.h>

int main(void)
{
    printf("请分别输入身高的英尺和英寸，如：输入\"5 7\"表示5英尺7英寸\n");
    double foot, inch = 0.0;
    scanf("%lf %lf", &foot, &inch);
    double height = (foot + inch / 12) * 0.3048;
    printf("身高为：%lf米\n", height);
    return 0;
}